package com.manager.service.imp;

import com.manager.dao.BrandMapper;
import com.manager.pojo.Brand;
import com.manager.pojo.BrandExample;
import com.manager.service.brandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class brandServiceImpl implements brandService {
@Autowired
    BrandMapper brandMapper;
    @Override
    public List<Brand> brandList() {
        return brandMapper.selectByExample(new BrandExample());
    }
}
